collection of data from the medical record